package com.haierp.mapper.bi;

import java.util.List;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.bi.BiRefund;
import com.haierp.model.bi.BiSale;
import com.haierp.model.bi.BiSaleSkuMonth;
import com.haierp.model.bi.BiSalesVolumeDay;

public interface BiSaleMapper extends AutoMapper<BiSale> {
	List<BiSalesVolumeDay> selectSaleReportByGmtCreate(Long companyId);
	List<BiSalesVolumeDay> selectSaleReportByGmtCreateMouth(Long companyId);
	List<BiSale> selectSaleReportExcelByGmtCreate();
	List<BiSale> selectSaleReportByCategoryName();
	List<BiSale> selectSaleReportByBand();
	List<BiRefund> selectRefundReport(Long companyId);
	List<BiSale> selectSaleReportByScale();
	List<BiSale> selectSaleItemReportByHistory(Long companyId);
	List<BiSaleSkuMonth> selectSaleItemReportByMouth(BiSaleSkuMonth biSaleSkuMonth);
	BiSale selectSaleItemReportByProbability(Long companyId);
	List<BiSale> countMistakeMan();
	List<BiSale> countStephPuchaseQuantity();
	List<BiSale> selectAllPurchaserQuantity();
	List<BiSale> purchasePerformance();
}
